Koordinater for tandrække

for

tandpkt

xkoor

ykoor

zkoor

Scan 1

Scan 2_0

pz

dvx

dvy

dvz

dpx

dpy

dpz

længde

Rot om x

Rot om y

Rot om z

dvx

rotx

roty

rotz

Løsning

dvy

dvz

dpx

dpy

dpz

Hmatrix

rotx

roty

roteret 10 grad om x

roteret -6 grad om y

rotz

vx

vy

vz

px

py

KS(vx+dvx)

KS(vx)

KS(vy+dvy)

KS(vz+dvz)

Scan2_1

Kvadratsum

Scan2_2

Scan2_3

Scan2_4

Subscan2_0

Subscan1

Scan2_5

Kvadratsummer

længde3 = 0 (slider from -10 to 0, step 0.001)
længde5 = 0 (slider from -10 to 0, step 0.001)
længde4 = 0 (slider from -10 to 0, step 0.001)
længde2 = 0 (slider from -10 to 0, step 0.001)
længde1 = 0 (slider from -10 to 0, step 0.001)
dp: 0.1
B18: -5
B19: -4
B20 = -3
C20: sin(B20)
B21 = -2
B22 = -1
B23 = 0
C23: sin(B23)
B24 = 1
B25 = 2
B26 = 3
C26: sin(B26)
B27 = 4
B28 = 5
D18: 4
D19: 5
D20 = 5
C: (B20, C20, D20)
E20: (B20, C20, D20)
D21: 4
D22: 3
D23: 3
F: (B23, C23, D23)
E23: (B23, C23, D23)
D24: 4
D25: 5
D26: 5.5
I: (B26, C26, D26)
E26: (B26, C26, D26)
D27: 5
D28: 4
C18: 0.6
A: (B18, C18, D18)
E18: (B18, C18, D18)
C19: 0.5
B: (B19, C19, D19)
E19: (B19, C19, D19)
C21: -0.4
D: (B21, C21, D21)
E21: (B21, C21, D21)
C22: -0.5
E: (B22, C22, D22)
E22: (B22, C22, D22)
C24: 0.6
G: (B24, C24, D24)
E24: (B24, C24, D24)
C25: 0.7
H: (B25, C25, D25)
E25: (B25, C25, D25)
C27: -0.5
J: (B27, C27, D27)
E27: (B27, C27, D27)
C28: -0.7
K: (B28, C28, D28)
tandpunkter: {A, B, C, D, E, F, G, H, I, J, K}
E28: (B28, C28, D28)
A18: 1
A19: 2
A20: 3
A21: 4
A22: 5
A23: 6
A24: 7
A25: 8
A26: 9
A27: 10
A28: 11
AM43: 1
AN43: 0
AO43: 0
AM44: 0
AM45: 0
AN45: sin(10°)
AO45: cos(10°)
AM47: cos(-6°)
AN47: 0
AO47: (-sin(-6°))
AM48: 0
AN48: 1
AO48: 0
AM49: sin(-6°)
AN49: 0
AO49: cos(-6°)
HRy: {{AM47, AN47, AO47}, {AM48, AN48, AO48}, {AM49, AN49, AO49}}
AM51: cos(7°)
AN51: (-sin(7°))
AO51: 0
AM52: sin(7°)
AN52: cos(7°)
AO52: 0
AM53: 0
AN53: 0
AO53: 1
HRz: {{AM51, AN51, AO51}, {AM52, AN52, AO52}, {AM53, AN53, AO53}}
AN44: cos(10°)
AO44: (-sin(10°))
HRx: {{AM43, AN43, AO43}, {AM44, AN44, AO44}, {AM45, AN45, AO45}}
Hmatrix: ((HRx * HRy) * HRz)
Scan2_0 = Translate(ApplyMatrix[Hmatrix, tandpunkter], Vector[(0.5, -0.7, 1.1)])
F18: Scan2_0(A18)
F99: F18 + (0, 0, dp) - E18
F19: Scan2_0(A19)
F100: F19 + (0, 0, dp) - E19
F20: Scan2_0(A20)
F101: F20 + (0, 0, dp) - E20
F21: Scan2_0(A21)
F102: F21 + (0, 0, dp) - E21
F22: Scan2_0(A22)
F103: F22 + (0, 0, dp) - E22
F23: Scan2_0(A23)
F104: F23 + (0, 0, dp) - E23
F24: Scan2_0(A24)
F105: F24 + (0, 0, dp) - E24
F25: Scan2_0(A25)
F106: F25 + (0, 0, dp) - E25
F26: Scan2_0(A26)
F107: F26 + (0, 0, dp) - E26
F27: Scan2_0(A27)
F108: F27 + (0, 0, dp) - E27
F28: Scan2_0(A28)
F109: F28 + (0, 0, dp) - E28
pdpz0: {F99, F100, F101, F102, F103, F104, F105, F106, F107, F108, F109}
F110 = Sum((pdpz0(j) * pdpz0(j)), j, 1, 11)
F45 = Sum(((Scan2_0(j) - tandpunkter(j)) * (Scan2_0(j) - tandpunkter(j))), j, 1, 11)
F6: ((F110 - F45) * 0.01745 / dp)
F95: F28 + (0, dp, 0) - E28
F94: F27 + (0, dp, 0) - E27
F93: F26 + (0, dp, 0) - E26
F92: F25 + (0, dp, 0) - E25
F91: F24 + (0, dp, 0) - E24
F90: F23 + (0, dp, 0) - E23
F89: F22 + (0, dp, 0) - E22
F88: F21 + (0, dp, 0) - E21
F87: F20 + (0, dp, 0) - E20
F86: F19 + (0, dp, 0) - E19
F85: F18 + (0, dp, 0) - E18
pdpy0: {F85, F86, F87, F88, F89, F90, F91, F92, F93, F94, F95}
F96 = Sum((pdpy0(j) * pdpy0(j)), j, 1, 11)
F72: F18 + (dp, 0, 0) - E18
F73: F19 + (dp, 0, 0) - E19
F74: F20 + (dp, 0, 0) - E20
F75: F21 + (dp, 0, 0) - E21
F76: F22 + (dp, 0, 0) - E22
F77: F23 + (dp, 0, 0) - E23
F78: F24 + (dp, 0, 0) - E24
F79: F25 + (dp, 0, 0) - E25
F80: F26 + (dp, 0, 0) - E26
F81: F27 + (dp, 0, 0) - E27
F82: F28 + (dp, 0, 0) - E28
pdpx0: {F72, F73, F74, F75, F76, F77, F78, F79, F80, F81, F82}
F83 = Sum((pdpx0(j) * pdpx0(j)), j, 1, 11)
dv: 0.1
dRotz: {{cos(dv°), (-sin(dv°)), 0}, {sin(dv°), cos(dv°), 0}, {0, 0, 1}}
F14: 0
F13: 0
F12: 0
F11: 0
F31: {{cos(F11°), (-sin(F11°)), 0}, {sin(F11°), cos(F11°), 0}, {0, 0, 1}}
F10: 0
F30: {{cos(F10°), 0, (-sin(F10°))}, {0, 1, 0}, {sin(F10°), 0, cos(F10°)}}
F9: 0
F29: {{1, 0, 0}, {0, cos(F9°), (-sin(F9°))}, {0, sin(F9°), cos(F9°)}}
F69: (dRotz * F28) - E28
F68: (dRotz * F27) - E27
F67: (dRotz * F26) - E26
F66: (dRotz * F25) - E25
F65: (dRotz * F24) - E24
F64: (dRotz * F23) - E23
F63: (dRotz * F22) - E22
F62: (dRotz * F21) - E21
F61: (dRotz * F20) - E20
F60: (dRotz * F19) - E19
F59: (dRotz * F18) - E18
pdvz0: {F59, F60, F61, F62, F63, F64, F65, F66, F67, F68, F69}
F70 = Sum((pdvz0(j) * pdvz0(j)), j, 1, 11)
dRoty: {{cos(dv°), 0, (-sin(dv°))}, {0, 1, 0}, {sin(dv°), 0, cos(dv°)}}
F56: (dRoty * F28) - E28
F55: (dRoty * F27) - E27
F54: (dRoty * F26) - E26
F53: (dRoty * F25) - E25
F52: (dRoty * F24) - E24
F51: (dRoty * F23) - E23
F50: (dRoty * F22) - E22
F49: (dRoty * F21) - E21
F48: (dRoty * F20) - E20
F47: (dRoty * F19) - E19
F46: (dRoty * F18) - E18
pdvy0: {F46, F47, F48, F49, F50, F51, F52, F53, F54, F55, F56}
F57 = Sum((pdvy0(j) * pdvy0(j)), j, 1, 11)
dRotx: {{1, 0, 0}, {0, cos(dv°), (-sin(dv°))}, {0, sin(dv°), cos(dv°)}}
F43: (dRotx * F28) - E28
F42: (dRotx * F27) - E27
F41: (dRotx * F26) - E26
F40: (dRotx * F25) - E25
F39: (dRotx * F24) - E24
F38: (dRotx * F23) - E23
F37: (dRotx * F22) - E22
F36: (dRotx * F21) - E21
F35: (dRotx * F20) - E20
F34: (dRotx * F19) - E19
F33: (dRotx * F18) - E18
pdvx0: {F33, F34, F35, F36, F37, F38, F39, F40, F41, F42, F43}
F44 = Sum((pdvx0(j) * pdvx0(j)), j, 1, 11)
L: (B18, C18, D18)
M: (B19, C19, D19)
N: (B20, C20, D20)
O: (B21, C21, D21)
P: (B22, C22, D22)
Q: (B23, C23, D23)
R: (B24, C24, D24)
S: (B25, C25, D25)
T: (B26, C26, D26)
U: (B27, C27, D27)
V: (B28, C28, D28)
tandkurve = PolyLine({L, M, N, O, P, Q, R, S, T, U, V})
α: °
A33: 1
A34: 2
A35: 3
A36: 4
A37: 5
A38: 6
A39: 7
β: °
A40: 8
AH43: 1
AI43: 0
AJ43: 0
AH44: 0
AH45: 0
AI47: 0
AH48: 0
AI48: 1
AJ48: 0
AI49: 0
AJ51: 0
AJ52: 0
AH53: 0
AI53: 0
AJ53: 1
AH58: 90
AI58: 136
AJ58: 316
AH59: -1
AI59: -2
AJ59: -3
A41: 9
A42: 10
A43: 11
A46: 1
A47: 2
A48: 3
A49: 4
A50: 5
A51: 6
A52: 7
A53: 8
A54: 9
A55: 10
A56: 11
A59: 1
A60: 2
A61: 3
A62: 4
A63: 5
A64: 6
A65: 7
A66: 8
A67: 9
A68: 10
A69: 11
A72: 1
A73: 2
A74: 3
A75: 4
A76: 5
A77: 6
A78: 7
A79: 8
A80: 9
A81: 10
A82: 11
A85: 1
A86: 2
A87: 3
A88: 4
A89: 5
A90: 6
A91: 7
A92: 8
A93: 9
A94: 10
A95: 11
A99: 1
A100: 2
A101: 3
A102: 4
A103: 5
A104: 6
A105: 7
A106: 8
A107: 9
A108: 10
A109: 11
AN40: "roteret 7grad om z" + (UnicodeToLetter[34]) + ""
W = Point(Scan2_0)
Z = Point(Scan2_0)
f = Segment(W, Z)
A_1 = Point(Scan2_0)
g = Segment(A_1, Z)
B_1 = Point(Scan2_0)
h = Segment(B_1, A_1)
C_1 = Point(Scan2_0)
i = Segment(C_1, B_1)
D_1 = Point(Scan2_0)
j = Segment(D_1, C_1)
E_1 = Point(Scan2_0)
k = Segment(E_1, D_1)
F_1 = Point(Scan2_0)
l = Segment(F_1, E_1)
G_1 = Point(Scan2_0)
m = Segment(G_1, F_1)
H_1 = Point(Scan2_0)
n = Segment(H_1, G_1)
I_1 = Point(Scan2_0)
p = Segment(I_1, H_1)
t = Segment(S, H)
F1: (F44 - F45) / dv
F2: (F57 - F45) / dv
F3: (F70 - F45) / dv
F4: ((F83 - F45) * 0.01745 / dp)
F5: ((F96 - F45) * 0.01745 / dp)
γ: °
l1: {F46, F47, F48, F49, F50, F51, F52, F53, F54, F55, F56}
pdtest: {}
F7: længde1
G9: (F$7 * F1)
G10: (F$7 * F2)
G11: (F$7 * F3)
G29: {{1, 0, 0}, {0, cos(G9°), (-sin(G9°))}, {0, sin(G9°), cos(G9°)}}
G30: {{cos(G10°), 0, (-sin(G10°))}, {0, 1, 0}, {sin(G10°), 0, cos(G10°)}}
G31: {{cos(G11°), (-sin(G11°)), 0}, {sin(G11°), cos(G11°), 0}, {0, 0, 1}}
G12: (F$7 * F4)
G13: (F$7 * F5)
G14: (F$7 * F6)
G18: (((G$31 * G$30) * G$29) * F18) + (G$12, G$13, G$14)
G19: (((G$31 * G$30) * G$29) * F19) + (G$12, G$13, G$14)
G20: (((G$31 * G$30) * G$29) * F20) + (G$12, G$13, G$14)
G21: (((G$31 * G$30) * G$29) * F21) + (G$12, G$13, G$14)
G22: (((G$31 * G$30) * G$29) * F22) + (G$12, G$13, G$14)
G23: (((G$31 * G$30) * G$29) * F23) + (G$12, G$13, G$14)
G24: (((G$31 * G$30) * G$29) * F24) + (G$12, G$13, G$14)
G25: (((G$31 * G$30) * G$29) * F25) + (G$12, G$13, G$14)
G26: (((G$31 * G$30) * G$29) * F26) + (G$12, G$13, G$14)
G27: (((G$31 * G$30) * G$29) * F27) + (G$12, G$13, G$14)
G28: (((G$31 * G$30) * G$29) * F28) + (G$12, G$13, G$14)
G33: (dRotx * G18) - E18
G34: (dRotx * G19) - E19
G35: (dRotx * G20) - E20
G36: (dRotx * G21) - E21
G37: (dRotx * G22) - E22
G38: (dRotx * G23) - E23
G39: (dRotx * G24) - E24
G40: (dRotx * G25) - E25
G41: (dRotx * G26) - E26
G42: (dRotx * G27) - E27
G43: (dRotx * G28) - E28
pdvx1: {G33, G34, G35, G36, G37, G38, G39, G40, G41, G42, G43}
G44 = Sum((pdvx1(j) * pdvx1(j)), j, 1, 11)
Scan2_1: {G18, G19, G20, G21, G22, G23, G24, G25, G26, G27, G28}
G45 = Sum(((Scan2_1(j) - tandpunkter(j)) * (Scan2_1(j) - tandpunkter(j))), j, 1, 11)
F8: F45
G8: G45
G1: (G44 - G45) / dv
G46: (dRoty * G18) - E18
G47: (dRoty * G19) - E19
G48: (dRoty * G20) - E20
G49: (dRoty * G21) - E21
G50: (dRoty * G22) - E22
G51: (dRoty * G23) - E23
G52: (dRoty * G24) - E24
G53: (dRoty * G25) - E25
G54: (dRoty * G26) - E26
G55: (dRoty * G27) - E27
G56: (dRoty * G28) - E28
pdvy1: {G46, G47, G48, G49, G50, G51, G52, G53, G54, G55, G56}
G57 = Sum((pdvy1(j) * pdvy1(j)), j, 1, 11)
G59: (dRotz * G18) - E18
G60: (dRotz * G19) - E19
G61: (dRotz * G20) - E20
G62: (dRotz * G21) - E21
G63: (dRotz * G22) - E22
G64: (dRotz * G23) - E23
G65: (dRotz * G24) - E24
G66: (dRotz * G25) - E25
G67: (dRotz * G26) - E26
G68: (dRotz * G27) - E27
G69: (dRotz * G28) - E28
pdvz1: {G59, G60, G61, G62, G63, G64, G65, G66, G67, G68, G69}
G70 = Sum((pdvz1(j) * pdvz1(j)), j, 1, 11)
G2: (G57 - G45) / dv
G3: (G70 - G45) / dv
G72: G18 + (dp, 0, 0) - E18
G73: G19 + (dp, 0, 0) - E19
G74: G20 + (dp, 0, 0) - E20
G75: G21 + (dp, 0, 0) - E21
G76: G22 + (dp, 0, 0) - E22
G77: G23 + (dp, 0, 0) - E23
G78: G24 + (dp, 0, 0) - E24
G79: G25 + (dp, 0, 0) - E25
G80: G26 + (dp, 0, 0) - E26
G81: G27 + (dp, 0, 0) - E27
G82: G28 + (dp, 0, 0) - E28
pdpx1: {G72, G73, G74, G75, G76, G77, G78, G79, G80, G81, G82}
G83 = Sum((pdpx1(j) * pdpx1(j)), j, 1, 11)
G85: G18 + (0, dp, 0) - E18
G86: G19 + (0, dp, 0) - E19
G87: G20 + (0, dp, 0) - E20
G88: G21 + (0, dp, 0) - E21
G89: G22 + (0, dp, 0) - E22
G90: G23 + (0, dp, 0) - E23
G91: G24 + (0, dp, 0) - E24
G92: G25 + (0, dp, 0) - E25
G93: G26 + (0, dp, 0) - E26
G94: G27 + (0, dp, 0) - E27
G95: G28 + (0, dp, 0) - E28
pdpy1: {G85, G86, G87, G88, G89, G90, G91, G92, G93, G94, G95}
G96 = Sum((pdpy1(j) * pdpy1(j)), j, 1, 11)
G99: G18 + (0, 0, dp) - E18
G100: G19 + (0, 0, dp) - E19
G101: G20 + (0, 0, dp) - E20
G102: G21 + (0, 0, dp) - E21
G103: G22 + (0, 0, dp) - E22
G104: G23 + (0, 0, dp) - E23
G105: G24 + (0, 0, dp) - E24
G106: G25 + (0, 0, dp) - E25
G107: G26 + (0, 0, dp) - E26
G108: G27 + (0, 0, dp) - E27
G109: G28 + (0, 0, dp) - E28
pdpz1: {G99, G100, G101, G102, G103, G104, G105, G106, G107, G108, G109}
G110 = Sum((pdpz1(j) * pdpz1(j)), j, 1, 11)
G4: ((G83 - G45) * 0.01745 / dp)
G5: ((G96 - G45) * 0.01745 / dp)
G6: ((G110 - G45) * 0.01745 / dp)
G7: længde2
H9: ($G$7 * G1)
H10: ($G$7 * G2)
H11: ($G$7 * G3)
H12: ($G$7 * G4)
H13: ($G$7 * G5)
H14: ($G$7 * G6)
H29: {{1, 0, 0}, {0, cos(H9°), (-sin(H9°))}, {0, sin(H9°), cos(H9°)}}
H30: {{cos(H10°), 0, (-sin(H10°))}, {0, 1, 0}, {sin(H10°), 0, cos(H10°)}}
H31: {{cos(H11°), (-sin(H11°)), 0}, {sin(H11°), cos(H11°), 0}, {0, 0, 1}}
H18: (((H$31 * H$30) * H$29) * G18) + (H$12, H$13, H$14)
H19: (((H$31 * H$30) * H$29) * G19) + (H$12, H$13, H$14)
H20: (((H$31 * H$30) * H$29) * G20) + (H$12, H$13, H$14)
H21: (((H$31 * H$30) * H$29) * G21) + (H$12, H$13, H$14)
H22: (((H$31 * H$30) * H$29) * G22) + (H$12, H$13, H$14)
H23: (((H$31 * H$30) * H$29) * G23) + (H$12, H$13, H$14)
H24: (((H$31 * H$30) * H$29) * G24) + (H$12, H$13, H$14)
H25: (((H$31 * H$30) * H$29) * G25) + (H$12, H$13, H$14)
H26: (((H$31 * H$30) * H$29) * G26) + (H$12, H$13, H$14)
H27: (((H$31 * H$30) * H$29) * G27) + (H$12, H$13, H$14)
H28: (((H$31 * H$30) * H$29) * G28) + (H$12, H$13, H$14)
Scan2_2: {H18, H19, H20, H21, H22, H23, H24, H25, H26, H27, H28}
H45 = Sum(((Scan2_2(j) - tandpunkter(j)) * (Scan2_2(j) - tandpunkter(j))), j, 1, 11)
H8: H45
H33: (dRotx * H18) - E18
H34: (dRotx * H19) - E19
H35: (dRotx * H20) - E20
H36: (dRotx * H21) - E21
H37: (dRotx * H22) - E22
H38: (dRotx * H23) - E23
H39: (dRotx * H24) - E24
H40: (dRotx * H25) - E25
H41: (dRotx * H26) - E26
H42: (dRotx * H27) - E27
H43: (dRotx * H28) - E28
pdvx2: {H33, H34, H35, H36, H37, H38, H39, H40, H41, H42, H43}
H44 = Sum((pdvx2(j) * pdvx2(j)), j, 1, 11)
H46: (dRoty * H18) - E18
H47: (dRoty * H19) - E19
H48: (dRoty * H20) - E20
H49: (dRoty * H21) - E21
H50: (dRoty * H22) - E22
H51: (dRoty * H23) - E23
H52: (dRoty * H24) - E24
H53: (dRoty * H25) - E25
H54: (dRoty * H26) - E26
H55: (dRoty * H27) - E27
H56: (dRoty * H28) - E28
pdvy2: {H46, H47, H48, H49, H50, H51, H52, H53, H54, H55, H56}
H57 = Sum((pdvy2(j) * pdvy2(j)), j, 1, 11)
H59: (dRotz * H18) - E18
H60: (dRotz * H19) - E19
H61: (dRotz * H20) - E20
H62: (dRotz * H21) - E21
H63: (dRotz * H22) - E22
H64: (dRotz * H23) - E23
H65: (dRotz * H24) - E24
H66: (dRotz * H25) - E25
H67: (dRotz * H26) - E26
H68: (dRotz * H27) - E27
H69: (dRotz * H28) - E28
pdvz2: {H59, H60, H61, H62, H63, H64, H65, H66, H67, H68, H69}
H70 = Sum((pdvz2(j) * pdvz2(j)), j, 1, 11)
H72: H18 + (dp, 0, 0) - E18
H73: H19 + (dp, 0, 0) - E19
H74: H20 + (dp, 0, 0) - E20
H75: H21 + (dp, 0, 0) - E21
H76: H22 + (dp, 0, 0) - E22
H77: H23 + (dp, 0, 0) - E23
H78: H24 + (dp, 0, 0) - E24
H79: H25 + (dp, 0, 0) - E25
H80: H26 + (dp, 0, 0) - E26
H81: H27 + (dp, 0, 0) - E27
H82: H28 + (dp, 0, 0) - E28
pdpx2: {H72, H73, H74, H75, H76, H77, H78, H79, H80, H81, H82}
H83 = Sum((pdpx2(j) * pdpx2(j)), j, 1, 11)
H85: H18 + (0, dp, 0) - E18
H86: H19 + (0, dp, 0) - E19
H87: H20 + (0, dp, 0) - E20
H88: H21 + (0, dp, 0) - E21
H89: H22 + (0, dp, 0) - E22
H90: H23 + (0, dp, 0) - E23
H91: H24 + (0, dp, 0) - E24
H92: H25 + (0, dp, 0) - E25
H93: H26 + (0, dp, 0) - E26
H94: H27 + (0, dp, 0) - E27
H95: H28 + (0, dp, 0) - E28
pdpy2: {H85, H86, H87, H88, H89, H90, H91, H92, H93, H94, H95}
H96 = Sum((pdpy2(j) * pdpy2(j)), j, 1, 11)
H99: H18 + (0, 0, dp) - E18
H100: H19 + (0, 0, dp) - E19
H101: H20 + (0, 0, dp) - E20
H102: H21 + (0, 0, dp) - E21
H103: H22 + (0, 0, dp) - E22
H104: H23 + (0, 0, dp) - E23
H105: H24 + (0, 0, dp) - E24
H106: H25 + (0, 0, dp) - E25
H107: H26 + (0, 0, dp) - E26
H108: H27 + (0, 0, dp) - E27
H109: H28 + (0, 0, dp) - E28
pdpz2: {H99, H100, H101, H102, H103, H104, H105, H106, H107, H108, H109}
H110 = Sum((pdpz2(j) * pdpz2(j)), j, 1, 11)
H1: (H44 - H45) / dv
H2: (H57 - H45) / dv
H3: (H70 - H45) / dv
H4: ((H83 - H45) * 0.01745 / dp)
H5: ((H96 - H45) * 0.01745 / dp)
H6: ((H110 - H45) * 0.01745 / dp)
H7: længde3
I9: ($H$7 * H1)
I10: ($H$7 * H2)
I11: ($H$7 * H3)
I12: ($H$7 * H4)
I13: ($H$7 * H5)
I14: ($H$7 * H6)
I29: {{1, 0, 0}, {0, cos(I9°), (-sin(I9°))}, {0, sin(I9°), cos(I9°)}}
I30: {{cos(I10°), 0, (-sin(I10°))}, {0, 1, 0}, {sin(I10°), 0, cos(I10°)}}
I31: {{cos(I11°), (-sin(I11°)), 0}, {sin(I11°), cos(I11°), 0}, {0, 0, 1}}
I18: (((I$31 * I$30) * I$29) * H18) + (I$12, I$13, I$14)
I19: (((I$31 * I$30) * I$29) * H19) + (I$12, I$13, I$14)
I20: (((I$31 * I$30) * I$29) * H20) + (I$12, I$13, I$14)
I21: (((I$31 * I$30) * I$29) * H21) + (I$12, I$13, I$14)
I22: (((I$31 * I$30) * I$29) * H22) + (I$12, I$13, I$14)
I23: (((I$31 * I$30) * I$29) * H23) + (I$12, I$13, I$14)
I24: (((I$31 * I$30) * I$29) * H24) + (I$12, I$13, I$14)
I25: (((I$31 * I$30) * I$29) * H25) + (I$12, I$13, I$14)
I26: (((I$31 * I$30) * I$29) * H26) + (I$12, I$13, I$14)
I27: (((I$31 * I$30) * I$29) * H27) + (I$12, I$13, I$14)
I28: (((I$31 * I$30) * I$29) * H28) + (I$12, I$13, I$14)
Scan2_3: {I18, I19, I20, I21, I22, I23, I24, I25, I26, I27, I28}
I33: (dRotx * I18) - E18
I34: (dRotx * I19) - E19
I35: (dRotx * I20) - E20
I36: (dRotx * I21) - E21
I37: (dRotx * I22) - E22
I38: (dRotx * I23) - E23
I39: (dRotx * I24) - E24
I40: (dRotx * I25) - E25
I41: (dRotx * I26) - E26
I42: (dRotx * I27) - E27
I43: (dRotx * I28) - E28
pdvx3: {I33, I34, I35, I36, I37, I38, I39, I40, I41, I42, I43}
I44 = Sum((pdvx3(j) * pdvx3(j)), j, 1, 11)
I45 = Sum(((Scan2_3(j) - tandpunkter(j)) * (Scan2_3(j) - tandpunkter(j))), j, 1, 11)
I8: I45
I46: (dRoty * I18) - E18
I47: (dRoty * I19) - E19
I48: (dRoty * I20) - E20
I49: (dRoty * I21) - E21
I50: (dRoty * I22) - E22
I51: (dRoty * I23) - E23
I52: (dRoty * I24) - E24
I53: (dRoty * I25) - E25
I54: (dRoty * I26) - E26
I55: (dRoty * I27) - E27
I56: (dRoty * I28) - E28
pdvy3: {I46, I47, I48, I49, I50, I51, I52, I53, I54, I55, I56}
I57 = Sum((pdvy3(j) * pdvy3(j)), j, 1, 11)
I59: (dRotz * I18) - E18
I60: (dRotz * I19) - E19
I61: (dRotz * I20) - E20
I62: (dRotz * I21) - E21
I63: (dRotz * I22) - E22
I64: (dRotz * I23) - E23
I65: (dRotz * I24) - E24
I66: (dRotz * I25) - E25
I67: (dRotz * I26) - E26
I68: (dRotz * I27) - E27
I69: (dRotz * I28) - E28
pdvz3: {I59, I60, I61, I62, I63, I64, I65, I66, I67, I68, I69}
I70 = Sum((pdvz3(j) * pdvz3(j)), j, 1, 11)
I72: I18 + (dp, 0, 0) - E18
I73: I19 + (dp, 0, 0) - E19
I74: I20 + (dp, 0, 0) - E20
I75: I21 + (dp, 0, 0) - E21
I76: I22 + (dp, 0, 0) - E22
I77: I23 + (dp, 0, 0) - E23
I78: I24 + (dp, 0, 0) - E24
I79: I25 + (dp, 0, 0) - E25
I80: I26 + (dp, 0, 0) - E26
I81: I27 + (dp, 0, 0) - E27
I82: I28 + (dp, 0, 0) - E28
pdpx3: {I72, I73, I74, I75, I76, I77, I78, I79, I80, I81, I82}
I83 = Sum((pdpx3(j) * pdpx3(j)), j, 1, 11)
I85: I18 + (0, dp, 0) - E18
I86: I19 + (0, dp, 0) - E19
I87: I20 + (0, dp, 0) - E20
I88: I21 + (0, dp, 0) - E21
I89: I22 + (0, dp, 0) - E22
I90: I23 + (0, dp, 0) - E23
I91: I24 + (0, dp, 0) - E24
I92: I25 + (0, dp, 0) - E25
I93: I26 + (0, dp, 0) - E26
I94: I27 + (0, dp, 0) - E27
I95: I28 + (0, dp, 0) - E28
pdpy3: {I85, I86, I87, I88, I89, I90, I91, I92, I93, I94, I95}
I96 = Sum((pdpy3(j) * pdpy3(j)), j, 1, 11)
I99: I18 + (0, 0, dp) - E18
I100: I19 + (0, 0, dp) - E19
I101: I20 + (0, 0, dp) - E20
I102: I21 + (0, 0, dp) - E21
I103: I22 + (0, 0, dp) - E22
I104: I23 + (0, 0, dp) - E23
I105: I24 + (0, 0, dp) - E24
I106: I25 + (0, 0, dp) - E25
I107: I26 + (0, 0, dp) - E26
I108: I27 + (0, 0, dp) - E27
I109: I28 + (0, 0, dp) - E28
pdpz3: {I99, I100, I101, I102, I103, I104, I105, I106, I107, I108, I109}
I110 = Sum((pdpz3(j) * pdpz3(j)), j, 1, 11)
I1: (((((I44 - I45) / dv * I45) * I45) * I45) * I45)
I2: (I57 - I45) / dv
I3: (I70 - I45) / dv
I4: ((I83 - I45) * 0.01745 / dp)
I5: ((I96 - I45) * 0.01745 / dp)
I6: ((I110 - I45) * 0.01745 / dp)
I7: længde4
J9: ($I$7 * I1)
J10: ($I$7 * I2)
J11: ($I$7 * I3)
J12: ($I$7 * I4)
J13: ($I$7 * I5)
J14: ($I$7 * I6)
J29: {{1, 0, 0}, {0, cos(J9°), (-sin(J9°))}, {0, sin(J9°), cos(J9°)}}
J30: {{cos(J10°), 0, (-sin(J10°))}, {0, 1, 0}, {sin(J10°), 0, cos(J10°)}}
J31: {{cos(J11°), (-sin(J11°)), 0}, {sin(J11°), cos(J11°), 0}, {0, 0, 1}}
J18: (((J$31 * J$30) * J$29) * I18) + (J$12, J$13, J$14)
J19: (((J$31 * J$30) * J$29) * I19) + (J$12, J$13, J$14)
J20: (((J$31 * J$30) * J$29) * I20) + (J$12, J$13, J$14)
J21: (((J$31 * J$30) * J$29) * I21) + (J$12, J$13, J$14)
J22: (((J$31 * J$30) * J$29) * I22) + (J$12, J$13, J$14)
J23: (((J$31 * J$30) * J$29) * I23) + (J$12, J$13, J$14)
J24: (((J$31 * J$30) * J$29) * I24) + (J$12, J$13, J$14)
J25: (((J$31 * J$30) * J$29) * I25) + (J$12, J$13, J$14)
J26: (((J$31 * J$30) * J$29) * I26) + (J$12, J$13, J$14)
J27: (((J$31 * J$30) * J$29) * I27) + (J$12, J$13, J$14)
J28: (((J$31 * J$30) * J$29) * I28) + (J$12, J$13, J$14)
Scan2_4: {J18, J19, J20, J21, J22, J23, J24, J25, J26, J27, J28}
J45 = Sum(((Scan2_4(j) - tandpunkter(j)) * (Scan2_4(j) - tandpunkter(j))), j, 1, 11)
J33: (dRotx * J18) - E18
J34: (dRotx * J19) - E19
J35: (dRotx * J20) - E20
J36: (dRotx * J21) - E21
J37: (dRotx * J22) - E22
J38: (dRotx * J23) - E23
J39: (dRotx * J24) - E24
J40: (dRotx * J25) - E25
J41: (dRotx * J26) - E26
J42: (dRotx * J27) - E27
J43: (dRotx * J28) - E28
pdvx4: {J33, J34, J35, J36, J37, J38, J39, J40, J41, J42, J43}
J44 = Sum((pdvx4(j) * pdvx4(j)), j, 1, 11)
J46: (dRoty * J18) - E18
J47: (dRoty * J19) - E19
J48: (dRoty * J20) - E20
J49: (dRoty * J21) - E21
J50: (dRoty * J22) - E22
J51: (dRoty * J23) - E23
J52: (dRoty * J24) - E24
J53: (dRoty * J25) - E25
J54: (dRoty * J26) - E26
J55: (dRoty * J27) - E27
J56: (dRoty * J28) - E28
pdvy4: {J46, J47, J48, J49, J50, J51, J52, J53, J54, J55, J56}
J57 = Sum((pdvy4(j) * pdvy4(j)), j, 1, 11)
J59: (dRotz * J18) - E18
J60: (dRotz * J19) - E19
J61: (dRotz * J20) - E20
J62: (dRotz * J21) - E21
J63: (dRotz * J22) - E22
J64: (dRotz * J23) - E23
J65: (dRotz * J24) - E24
J66: (dRotz * J25) - E25
J67: (dRotz * J26) - E26
J68: (dRotz * J27) - E27
J69: (dRotz * J28) - E28
pdvz4: {J59, J60, J61, J62, J63, J64, J65, J66, J67, J68, J69}
J70 = Sum((pdvz4(j) * pdvz4(j)), j, 1, 11)
J72: J18 + (dp, 0, 0) - E18
J73: J19 + (dp, 0, 0) - E19
J74: J20 + (dp, 0, 0) - E20
J75: J21 + (dp, 0, 0) - E21
J76: J22 + (dp, 0, 0) - E22
J77: J23 + (dp, 0, 0) - E23
J78: J24 + (dp, 0, 0) - E24
J79: J25 + (dp, 0, 0) - E25
J80: J26 + (dp, 0, 0) - E26
J81: J27 + (dp, 0, 0) - E27
J82: J28 + (dp, 0, 0) - E28
pdpx4: {J72, J73, J74, J75, J76, J77, J78, J79, J80, J81, J82}
J83 = Sum((pdpx4(j) * pdpx4(j)), j, 1, 11)
J85: J18 + (0, dp, 0) - E18
J86: J19 + (0, dp, 0) - E19
J87: J20 + (0, dp, 0) - E20
J88: J21 + (0, dp, 0) - E21
J89: J22 + (0, dp, 0) - E22
J90: J23 + (0, dp, 0) - E23
J91: J24 + (0, dp, 0) - E24
J92: J25 + (0, dp, 0) - E25
J93: J26 + (0, dp, 0) - E26
J94: J27 + (0, dp, 0) - E27
J95: J28 + (0, dp, 0) - E28
pdpy4: {J85, J86, J87, J88, J89, J90, J91, J92, J93, J94, J95}
J96 = Sum((pdpy4(j) * pdpy4(j)), j, 1, 11)
J99: J18 + (0, 0, dp) - E18
J100: J19 + (0, 0, dp) - E19
J101: J20 + (0, 0, dp) - E20
J102: J21 + (0, 0, dp) - E21
J103: J22 + (0, 0, dp) - E22
J104: J23 + (0, 0, dp) - E23
J105: J24 + (0, 0, dp) - E24
J106: J25 + (0, 0, dp) - E25
J107: J26 + (0, 0, dp) - E26
J108: J27 + (0, 0, dp) - E27
J109: J28 + (0, 0, dp) - E28
pdpz4: {J99, J100, J101, J102, J103, J104, J105, J106, J107, J108, J109}
J110 = Sum((pdpz4(j) * pdpz4(j)), j, 1, 11)
J1: (J44 - J45) / dv
J2: (J57 - J45) / dv
J3: (J70 - J45) / dv
J4: ((J83 - J45) * 0.01745 / dp)
J5: ((J96 - J45) * 0.01745 / dp)
J6: ((J110 - J45) * 0.01745 / dp)
J8: J45
s_1 = Segment(J38, J36)
t_1 = Segment(J36, J105)
a_1 = Segment(J105, J104)
b_1 = Segment(J105, J104)
J7: længde5
K9: ($J$7 * J1)
K10: ($J$7 * J2)
K11: ($J$7 * J3)
K12: ($J$7 * J4)
K13: ($J$7 * J5)
K14: ($J$7 * J6)
K29: {{1, 0, 0}, {0, cos(K9°), (-sin(K9°))}, {0, sin(K9°), cos(K9°)}}
K30: {{cos(K10°), 0, (-sin(K10°))}, {0, 1, 0}, {sin(K10°), 0, cos(K10°)}}
K31: {{cos(K11°), (-sin(K11°)), 0}, {sin(K11°), cos(K11°), 0}, {0, 0, 1}}
K18: (((K$31 * K$30) * K$29) * J18) + (K$12, K$13, K$14)
K19: (((K$31 * K$30) * K$29) * J19) + (K$12, K$13, K$14)
K20: (((K$31 * K$30) * K$29) * J20) + (K$12, K$13, K$14)
K21: (((K$31 * K$30) * K$29) * J21) + (K$12, K$13, K$14)
K22: (((K$31 * K$30) * K$29) * J22) + (K$12, K$13, K$14)
K23: (((K$31 * K$30) * K$29) * J23) + (K$12, K$13, K$14)
K24: (((K$31 * K$30) * K$29) * J24) + (K$12, K$13, K$14)
K25: (((K$31 * K$30) * K$29) * J25) + (K$12, K$13, K$14)
K26: (((K$31 * K$30) * K$29) * J26) + (K$12, K$13, K$14)
K27: (((K$31 * K$30) * K$29) * J27) + (K$12, K$13, K$14)
K28: (((K$31 * K$30) * K$29) * J28) + (K$12, K$13, K$14)
Scan2_5: {K18, K19, K20, K21, K22, K23, K24, K25, K26, K27, K28}
K33: (dRotx * K18) - E18
K34: (dRotx * K19) - E19
K35: (dRotx * K20) - E20
K36: (dRotx * K21) - E21
K37: (dRotx * K22) - E22
K38: (dRotx * K23) - E23
K39: (dRotx * K24) - E24
K40: (dRotx * K25) - E25
K41: (dRotx * K26) - E26
K42: (dRotx * K27) - E27
K43: (dRotx * K28) - E28
pdvx5: {K33, K34, K35, K36, K37, K38, K39, K40, K41, K42, K43}
K44 = Sum((pdvx5(j) * pdvx5(j)), j, 1, 11)
K45 = Sum(((Scan2_5(j) - tandpunkter(j)) * (Scan2_5(j) - tandpunkter(j))), j, 1, 11)
K1: (K44 - K45) / dv
K46: (dRoty * K18) - E18
K47: (dRoty * K19) - E19
K48: (dRoty * K20) - E20
K49: (dRoty * K21) - E21
K50: (dRoty * K22) - E22
K51: (dRoty * K23) - E23
K52: (dRoty * K24) - E24
K53: (dRoty * K25) - E25
K54: (dRoty * K26) - E26
K55: (dRoty * K27) - E27
K56: (dRoty * K28) - E28
pdvy5: {K46, K47, K48, K49, K50, K51, K52, K53, K54, K55, K56}
K57 = Sum((pdvy5(j) * pdvy5(j)), j, 1, 11)
K59: (dRotz * K18) - E18
K60: (dRotz * K19) - E19
K61: (dRotz * K20) - E20
K62: (dRotz * K21) - E21
K63: (dRotz * K22) - E22
K64: (dRotz * K23) - E23
K65: (dRotz * K24) - E24
K66: (dRotz * K25) - E25
K67: (dRotz * K26) - E26
K68: (dRotz * K27) - E27
K69: (dRotz * K28) - E28
pdvz5: {K59, K60, K61, K62, K63, K64, K65, K66, K67, K68, K69}
K70 = Sum((pdvz5(j) * pdvz5(j)), j, 1, 11)
K72: K18 + (dp, 0, 0) - E18
K73: K19 + (dp, 0, 0) - E19
K74: K20 + (dp, 0, 0) - E20
K75: K21 + (dp, 0, 0) - E21
K76: K22 + (dp, 0, 0) - E22
K77: K23 + (dp, 0, 0) - E23
K78: K24 + (dp, 0, 0) - E24
K79: K25 + (dp, 0, 0) - E25
K80: K26 + (dp, 0, 0) - E26
K81: K27 + (dp, 0, 0) - E27
K82: K28 + (dp, 0, 0) - E28
pdpx5: {K72, K73, K74, K75, K76, K77, K78, K79, K80, K81, K82}
K83 = Sum((pdpx5(j) * pdpx5(j)), j, 1, 11)
K85: K18 + (0, dp, 0) - E18
K86: K19 + (0, dp, 0) - E19
K87: K20 + (0, dp, 0) - E20
K88: K21 + (0, dp, 0) - E21
K89: K22 + (0, dp, 0) - E22
K90: K23 + (0, dp, 0) - E23
K91: K24 + (0, dp, 0) - E24
K92: K25 + (0, dp, 0) - E25
K93: K26 + (0, dp, 0) - E26
K94: K27 + (0, dp, 0) - E27
K95: K28 + (0, dp, 0) - E28
pdpy5: {K85, K86, K87, K88, K89, K90, K91, K92, K93, K94, K95}
K96 = Sum((pdpy5(j) * pdpy5(j)), j, 1, 11)
K99: K18 + (0, 0, dp) - E18
K100: K19 + (0, 0, dp) - E19
K101: K20 + (0, 0, dp) - E20
K102: K21 + (0, 0, dp) - E21
K103: K22 + (0, 0, dp) - E22
K104: K23 + (0, 0, dp) - E23
K105: K24 + (0, 0, dp) - E24
K106: K25 + (0, 0, dp) - E25
K107: K26 + (0, 0, dp) - E26
K108: K27 + (0, 0, dp) - E27
K109: K28 + (0, 0, dp) - E28
pdpz5: {K99, K100, K101, K102, K103, K104, K105, K106, K107, K108, K109}
K110 = Sum((pdpz5(j) * pdpz5(j)), j, 1, 11)
K2: (K57 - K45) / dv
K3: (K70 - K45) / dv
K4: ((K83 - K45) * 0.01745 / dp)
K5: ((K96 - K45) * 0.01745 / dp)
K6: ((K110 - K45) * 0.01745 / dp)
K8: K45
h_1 = Segment(K18, K19)
i_1 = Segment(K20, K19)
j_1 = Segment(K21, K20)
k_1 = Segment(K22, K21)
l_1 = Segment(K23, K22)
m_1 = Segment(K24, K23)
n_1 = Segment(K25, K24)
p_1 = Segment(K26, K25)
q_1 = Segment(K27, K26)
r_1 = Segment(K28, K27)
tekst6: "" + G8 + ""
tekst5: "" + H8 + ""
tekst7: "" + I8 + ""
tekst8: "" + J8 + ""
tekst9: "" + K8 + ""